/**
 * 
 */
package com.gr.staffpm.widget.jqgrid.component.event;

import java.io.Serializable;


/**
 * Represents an event of the grid.
 * 
 * @author Graham Rhodes
 *
 */
public interface IGridEvent<B extends Serializable> extends Serializable {

    /**
     * Enumeration with the events supported by the grid.
     * 
     * See http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events
     *	
     * @author Ernesto Reinaldo Barreiro (reiern70@gmail.com)
     */
    public static enum GridEvent {
        onSelectRow, gridComplete, ondblClickRow, onRightClickRow, onHeaderClick, onSortCol, onPaging, resizeStop;
    }

    public abstract GridEvent getGridEvent();

    /**
     * 
     * @param callBackURL
     * @return
     */
    public abstract String statement(String callBackURL);
}
